package br.com.xti.estudo.heranca;

public class OpercaoTest {

	public static void calcule(OperacaoMatematica o, double x, double y)
	{
		System.out.println(o.calcular(x, y));
	}
	
	public static void main(String[] args) {

calcule(new Soma(), 5, 5);
calcule(new Multiplicacao(), 5, 5);	

	}

}
